<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html>

<script language="JavaScript" type="text/JavaScript">
		window.onload = function()
		{
			if('${userSession}' !=  "" && '${userSession}' !=  null)
				self.location = "staffhome.jsp";
		}
		
	</script>
<body>
	<form method="post" action="login">
		<h1>Login</h1>

		<table>
			<tr>
				<td>Username:</td>
				<td><input name="username" type="text" /></td>
			</tr>
			<tr>
				<td>Password:</td>
				<td><input name="password" type="password" /></td>
			</tr>
		</table>

		<br>
		<br> <input type="submit" name="submit" value="submit" />

	</form>
</body>
</html>